package com.zhdl.hardware.plc.siemens_tcpip.repository;

import com.zhdl.common.ytools.callback.CommonCallback;

public interface SiemensTcpPortCmdHandleDao {
    void addPort(String port);

    /**
     * 读取plc的tcpip数据
     *
     * @param port     网口Ip
     * @param callback 回调
     */
    void readSiemensTcpIPDate(String port, CommonCallback<String> callback);
}
